import { useState } from "react";

export const useInput = () => {
  const [value, setValue] = useState("");
  const handleChange = (e: any) => {
    setValue(e.target.value);
  };
  return { value, handleChange };
};
